home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •Games Parlour• / •Classic Board Games• / Monopoly v4.03a •••• / Monopoly v4.03a ееее.rsrc / CODE_2.txt < prev    next >
Text File  |  1986-09-22  |  12KB  |  219 lines

  1. # near model CODE resource
  2. # jump table entries: 8-14 (7 of them)
  3. export_7:
  4. 00000000  2F0A                     move.l     -[A7], A2
  5. 00000002  203C 0000 0064           move.l     D0, 0x64 /* 'd' */
  6. 00000008  A122                     syscall    NewHandle, flags=1
  7. 0000000A  226F 0008                movea.l    A1, [A7 + 0x8]
  8. 0000000E  2288                     move.l     [A1], A0
  9. 00000010  4A40                     tst.w      D0
  10. 00000012  6620                     bne        +0x22 /* 00000034 */
  11. 00000014  A029                     syscall    HLock
  12. 00000016  2450                     movea.l    A2, [A0]
  13. 00000018  7000                     moveq.l    D0, 0x00
  14. 0000001A  7218                     moveq.l    D1, 0x18
  15. 0000001C  204A                     movea.l    A0, A2
  16. label0000001E:
  17. 0000001E  20C0                     move.l     [A0]+, D0
  18. 00000020  51C9 FFFC                dbf        D1, -0x6 /* 0000001E */
  19. 00000024  4267                     clr.w      -[A7]
  20. 00000026  487A 00D2                pea.l      [PC + 0xD2 /* 000000FA, value 0x94D6163 '\tMac', pstring "MacinTalk" */]
  21. 0000002A  A997                     syscall    OpenResFile
  22. 0000002C  301F                     move.w     D0, [A7]+
  23. 0000002E  6A12                     bpl        +0x14 /* 00000042 */
  24. 00000030  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  25. label00000034:
  26. 00000034  245F                     movea.l    A2, [A7]+
  27. 00000036  2F57 0008                move.l     [A7 + 0x8], [A7]
  28. 0000003A  508F                     addq.l     A7, 8
  29. 0000003C  3F40 0004                move.w     [A7 + 0x4], D0
  30. 00000040  4E75                     rts
  31. label00000042:
  32. 00000042  3540 004A                move.w     [A2 + 0x4A], D0
  33. 00000046  1F3C 0000                move.b     -[A7], 0x0
  34. 0000004A  A99B                     syscall    SetResLoad
  35. 0000004C  42A7                     clr.l      -[A7]
  36. 0000004E  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  37. 00000054  487A 009C                pea.l      [PC + 0x9C /* 000000F2, value 0x72E5350, pstring ".SPEECH" */]
  38. 00000058  A9A1                     syscall    GetNamedResource
  39. 0000005A  225F                     movea.l    A1, [A7]+
  40. 0000005C  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  41. 00000060  66D2                     bne        -0x2C /* 00000034 */
  42. 00000062  1F3C 0001                move.b     -[A7], 0x1
  43. 00000066  A99B                     syscall    SetResLoad
  44. 00000068  2078 011C                movea.l    A0, [0x0000011C /* UTableBase */]
  45. 0000006C  D0FC 0080                add.w      A0, 0x80
  46. 00000070  303C 0020                move.w     D0, 0x20 /* ' ' */
  47. label00000074:
  48. 00000074  5340                     subq.w     D0, 1
  49. 00000076  0C40 0012                cmpi.w     D0, 0x12
  50. 0000007A  6E06                     bgt        +0x8 /* 00000082 */
  51. 0000007C  303C F060                move.w     D0, 0xF060
  52. 00000080  60B2                     bra        -0x4C /* 00000034 */
  53. label00000082:
  54. 00000082  0CA0 0000 0000           cmpi.l     -[A0], 0x0
  55. 00000088  66EA                     bne        -0x14 /* 00000074 */
  56. 0000008A  3200                     move.w     D1, D0
  57. 0000008C  5241                     addq.w     D1, 1
  58. 0000008E  4441                     neg.w      D1
  59. 00000090  3541 0046                move.w     [A2 + 0x46], D1
  60. 00000094  2F09                     move.l     -[A7], A1
  61. 00000096  3F00                     move.w     -[A7], D0
  62. 00000098  2F3C 0000 0000           move.l     -[A7], 0x0
  63. 0000009E  A9A9                     syscall    SetResInfo
  64. 000000A0  2F09                     move.l     -[A7], A1
  65. 000000A2  A9A2                     syscall    LoadResource
  66. 000000A4  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  67. 000000A8  2049                     movea.l    A0, A1
  68. 000000AA  A029                     syscall    HLock
  69. 000000AC  245F                     movea.l    A2, [A7]+
  70. 000000AE  205F                     movea.l    A0, [A7]+
  71. 000000B0  201F                     move.l     D0, [A7]+
  72. 000000B2  225F                     movea.l    A1, [A7]+
  73. 000000B4  2F08                     move.l     -[A7], A0
  74. 000000B6  2F0A                     move.l     -[A7], A2
  75. 000000B8  2440                     movea.l    A2, D0
  76. 000000BA  2452                     movea.l    A2, [A2]
  77. 000000BC  2F0A                     move.l     -[A7], A2
  78. 000000BE  2452                     movea.l    A2, [A2]
  79. 000000C0  41EA 0000                lea.l      A0, [A2 + 0x0]
  80. 000000C4  2149 003C                move.l     [A0 + 0x3C], A1
  81. 000000C8  43FA 0028                lea.l      A1, [PC + 0x28 /* 000000F2, value 0x72E5350, pstring ".SPEECH" */]
  82. 000000CC  2149 0012                move.l     [A0 + 0x12], A1
  83. 000000D0  4268 0016                clr.w      [A0 + 0x16]
  84. 000000D4  4268 001A                clr.w      [A0 + 0x1A]
  85. 000000D8  42A8 001C                clr.l      [A0 + 0x1C]
  86. 000000DC  A000                     syscall    Open/PBHOpen/HOpen
  87. 000000DE  3F68 0010 000C           move.w     [A7 + 0xC], [A0 + 0x10]
  88. 000000E4  2568 0034 0042           move.l     [A2 + 0x42], [A0 + 0x34]
  89. 000000EA  205F                     movea.l    A0, [A7]+
  90. 000000EC  A02A                     syscall    HUnlock
  91. 000000EE  245F                     movea.l    A2, [A7]+
  92. 000000F0  4E75                     rts
  93. 000000F2  072E 5350                btst       [A6 + 0x5350], D3
  94. 000000F6  4545                     chk.w      D2, D5
  95. 000000F8  4348                     chk.w      D1, A0
  96. 000000FA  094D                     bchg       A5, D4
  97. 000000FC  6163                     bsr        +0x65 /* 00000161 */
  98. 000000FE  696E                     bvs        +0x70 /* 0000016E */
  99. 00000100  5461                     addq.w     -[A1], 2
  100. 00000102  6C6B                     bge        +0x6D /* 0000016F */
  101. export_4:
  102. 00000104  2F0A                     move.l     -[A7], A2
  103. 00000106  206F 0008                movea.l    A0, [A7 + 0x8]
  104. 0000010A  A029                     syscall    HLock
  105. 0000010C  2450                     movea.l    A2, [A0]
  106. 0000010E  41EA 0000                lea.l      A0, [A2 + 0x0]
  107. 00000112  A201                     syscall    Close, flags=2
  108. 00000114  302A 004A                move.w     D0, [A2 + 0x4A]
  109. 00000118  6704                     beq        +0x6 /* 0000011E */
  110. 0000011A  3F00                     move.w     -[A7], D0
  111. 0000011C  A99A                     syscall    CloseResFile
  112. label0000011E:
  113. 0000011E  206F 0008                movea.l    A0, [A7 + 0x8]
  114. 00000122  A02A                     syscall    HUnlock
  115. 00000124  A023                     syscall    DisposHandle/DisposeHandle
  116. 00000126  245F                     movea.l    A2, [A7]+
  117. 00000128  2F57 0004                move.l     [A7 + 0x4], [A7]
  118. 0000012C  588F                     addq.l     A7, 4
  119. 0000012E  4E75                     rts
  120. export_5:
  121. 00000130  221F                     move.l     D1, [A7]+
  122. 00000132  341F                     move.w     D2, [A7]+
  123. 00000134  205F                     movea.l    A0, [A7]+
  124. 00000136  2F01                     move.l     -[A7], D1
  125. 00000138  2F08                     move.l     -[A7], A0
  126. 0000013A  A029                     syscall    HLock
  127. 0000013C  2250                     movea.l    A1, [A0]
  128. 0000013E  4E56 FFE0                link       A6, -0x0020
  129. 00000142  41EE FFE0                lea.l      A0, [A6 - 0x20]
  130. 00000146  3169 0046 0018           move.w     [A0 + 0x18], [A1 + 0x46]
  131. 0000014C  317C 0002 001A           move.w     [A0 + 0x1A], 0x2
  132. 00000152  3142 001C                move.w     [A0 + 0x1C], D2
  133. 00000156  A204                     syscall    Control, flags=2
  134. 00000158  4E5E                     unlink     A6
  135. 0000015A  205F                     movea.l    A0, [A7]+
  136. 0000015C  A02A                     syscall    HUnlock
  137. 0000015E  4E75                     rts
  138. export_2:
  139. 00000160  7400                     moveq.l    D2, 0x00
  140. 00000162  221F                     move.l     D1, [A7]+
  141. 00000164  141F                     move.b     D2, [A7]+
  142. 00000166  205F                     movea.l    A0, [A7]+
  143. 00000168  2F01                     move.l     -[A7], D1
  144. 0000016A  2F08                     move.l     -[A7], A0
  145. 0000016C  A029                     syscall    HLock
  146. label0000016E:
  147. 0000016E  2250                     movea.l    A1, [A0]
  148. 00000170  4E56 FFE0                link       A6, -0x0020
  149. 00000174  41EE FFE0                lea.l      A0, [A6 - 0x20]
  150. 00000178  3169 0046 0018           move.w     [A0 + 0x18], [A1 + 0x46]
  151. 0000017E  317C 0003 001A           move.w     [A0 + 0x1A], 0x3
  152. 00000184  3142 001C                move.w     [A0 + 0x1C], D2
  153. 00000188  A204                     syscall    Control, flags=2
  154. 0000018A  4E5E                     unlink     A6
  155. 0000018C  205F                     movea.l    A0, [A7]+
  156. 0000018E  A02A                     syscall    HUnlock
  157. 00000190  4E75                     rts
  158. export_3:
  159. 00000192  7400                     moveq.l    D2, 0x00
  160. 00000194  225F                     movea.l    A1, [A7]+
  161. 00000196  141F                     move.b     D2, [A7]+
  162. 00000198  321F                     move.w     D1, [A7]+
  163. 0000019A  205F                     movea.l    A0, [A7]+
  164. 0000019C  2F09                     move.l     -[A7], A1
  165. 0000019E  2F08                     move.l     -[A7], A0
  166. 000001A0  A029                     syscall    HLock
  167. 000001A2  2250                     movea.l    A1, [A0]
  168. 000001A4  4E56 FFE0                link       A6, -0x0020
  169. 000001A8  41EE FFE0                lea.l      A0, [A6 - 0x20]
  170. 000001AC  3169 0046 0018           move.w     [A0 + 0x18], [A1 + 0x46]
  171. 000001B2  317C 0000 001A           move.w     [A0 + 0x1A], 0x0
  172. 000001B8  3142 001C                move.w     [A0 + 0x1C], D2
  173. 000001BC  A204                     syscall    Control, flags=2
  174. 000001BE  317C 0004 001A           move.w     [A0 + 0x1A], 0x4
  175. 000001C4  3141 001C                move.w     [A0 + 0x1C], D1
  176. 000001C8  A204                     syscall    Control, flags=2
  177. 000001CA  4E5E                     unlink     A6
  178. 000001CC  205F                     movea.l    A0, [A7]+
  179. 000001CE  A02A                     syscall    HUnlock
  180. 000001D0  4E75                     rts
  181. export_1:
  182. 000001D2  201F                     move.l     D0, [A7]+
  183. 000001D4  225F                     movea.l    A1, [A7]+
  184. 000001D6  205F                     movea.l    A0, [A7]+
  185. 000001D8  2F00                     move.l     -[A7], D0
  186. 000001DA  2F08                     move.l     -[A7], A0
  187. 000001DC  A029                     syscall    HLock
  188. 000001DE  2049                     movea.l    A0, A1
  189. 000001E0  A025                     syscall    GetHandleSize
  190. 000001E2  2F0A                     move.l     -[A7], A2
  191. 000001E4  246F 0004                movea.l    A2, [A7 + 0x4]
  192. 000001E8  2452                     movea.l    A2, [A2]
  193. 000001EA  41EA 0000                lea.l      A0, [A2 + 0x0]
  194. 000001EE  316A 0046 0018           move.w     [A0 + 0x18], [A2 + 0x46]
  195. 000001F4  2149 0020                move.l     [A0 + 0x20], A1
  196. 000001F8  2140 0024                move.l     [A0 + 0x24], D0
  197. 000001FC  A203                     syscall    Write, flags=2
  198. 000001FE  245F                     movea.l    A2, [A7]+
  199. 00000200  205F                     movea.l    A0, [A7]+
  200. 00000202  3F00                     move.w     -[A7], D0
  201. 00000204  A02A                     syscall    HUnlock
  202. 00000206  301F                     move.w     D0, [A7]+
  203. 00000208  3F40 0004                move.w     [A7 + 0x4], D0
  204. 0000020C  4E75                     rts
  205. export_6:
  206. 0000020E  206F 0010                movea.l    A0, [A7 + 0x10]
  207. 00000212  2F6F 000C 0010           move.l     [A7 + 0x10], [A7 + 0xC]
  208. 00000218  2F6F 0008 000C           move.l     [A7 + 0xC], [A7 + 0x8]
  209. 0000021E  2F6F 0004 0008           move.l     [A7 + 0x8], [A7 + 0x4]
  210. 00000224  2F57 0004                move.l     [A7 + 0x4], [A7]
  211. 00000228  588F                     addq.l     A7, 4
  212. 0000022A  A029                     syscall    HLock
  213. 0000022C  2050                     movea.l    A0, [A0]
  214. 0000022E  2068 0042                movea.l    A0, [A0 + 0x42]
  215. 00000232  A029                     syscall    HLock
  216. 00000234  2050                     movea.l    A0, [A0]
  217. 00000236  4ED0                     jmp        [A0]
  218. 00000238  4E75                     rts
  219.